package com.qing.provider.dao;

import com.qing.api.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface UserMapper {

	void addUse(User user);

	User queryById(@Param("id") Long id);

	List<User> queryUser(@Param("name") String name);

	void deleteById(Long id);
}
